<template>
  <div>
    <van-list
      v-model="loading"
      :finished="finished"
      finished-text="没有更多了"
      @load="onLoad"
    >
      <van-cell
        v-for="item in SearchList"
        :key="item"
        :title="item"
        @click="search(item)"
      />
    </van-list>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [1, 2, 3, 4, 5, 6, 7, 8],
      loading: true,
      finished: true,
    };
  },
  props: ["SearchList"],
  methods: {
    onLoad() {},
    search(v) {
      this.$emit("change1", v);
    },
  },
};
</script>

<style>
</style>